from django.urls import  path,re_path,include


from myaccount import views

app_name = "myaccount"

urlpatterns = [
    path('mylogin/',views.LoginView.as_view(), name="mylogin"),
    # path('login/',views.MyLogin,name="login"),
    path('myregister/',views.RegisterView.as_view(), name="myregister"),
    path('mylogout/',views.UserLogoutView.as_view(), name="mylogout"),
    path('mydelete/<int:id>',views.UserDeleteView.as_view(), name="user_delete"),

    path('profile/',include([
        path('', views.profile, name="profile"),
        path('update/', views.profile_udpate, name="profile_update"),
    ]))

]